
y=3.0
y3=y*y*y
y6=y3*y3

m2z=(y6-y3)/(y6-1.0)
m1z=1.-m2z/y3

print m1z,m2z
print 1./y3
print '********************'
print 1.,1./y3,0,0,0,0
print 1./y3,1.,0,0,0,0
print 0, 0, 1.0, -2./y3,0,0
print 0,0,-2./y3,1.,0,0
print 0,0,0,0,1.,1./y3
print 0,0,0,0,1./y3,1.
print '********************'
print 1.,2./y3,0,0,0,0
print 2./y3,1.,0,0,0,0
print 0, 0, 1.0, -4./y3,0,0
print 0,0,-4./y3,1.,0,0
print 0,0,0,0,1.,2./y3
print 0,0,0,0,2./y3,1.